package com.ztgf.shopping.models.dto.epg;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * 频道栏目表DTO
 *
 * @author YUE
 * @create 2020-05-19 14:33
 */
@Data
@TableName("epg_section")
@ApiModel(value="频道栏目", description="频道栏目")
public class EpgSectionDTO  extends BaseDTO implements Serializable {
    @ApiModelProperty(value = "图片地址")
    private String logoUrl;
    @ApiModelProperty(value = "状态 0正常、1删除")
    private Integer status;
    @ApiModelProperty(value = "是否发布 0未发布，1发布")
    private Integer isPublish;
    @ApiModelProperty(value = "排序序号")
    private Integer sort;
    @ApiModelProperty(value = "模版id")
    private Long templetId;
    @ApiModelProperty(value = "功能id")
    private Long moduleId;
    @ApiModelProperty(value = "频道名字")
    private String name;
    @ApiModelProperty(value = "描述内容")
    private String note;
    @ApiModelProperty(value = "key值")
    @TableField("key1")
    private String key;
    @ApiModelProperty(value = "一级类目的ids")
    private String firstCategory;
    @ApiModelProperty(value = "0级类目的id")
    private Long zeroCategory;
}
